<template>
	<view style="height: 100%;padding: 20rpx;">
		<view class="userboxs" v-for="i in 10" :key="i" @click="toDetails">
			<view class="userbox">
				<view class="flex">
					<view class="avatar">
						<image src="../../static/indexad/dy.png" mode=""></image>
					</view>
					<view style="margin-left:20rpx;">
						<view style="color:#000;font-size:26rpx;">单身美女</view>
						<view style="color:#999;font-size:22rpx;">主播・模特・演员</view>
					</view>
				</view>
				<view style="font-size:18rpx;color:#CCC">
					400米・在线
				</view>
			</view>
			<!-- 招聘内容 -->
			<view class="">
				<view class="flex" style="justify-content: space-between;padding: 20rpx 0rpx;">
					<view class="" style="font-weight: 700;">
						一起去打球吧
					</view>
					<view class="">
						江苏省南京市
					</view>
				</view>
				<view class="" style="font-size: 28rpx; color:#959595 ;    padding-bottom: 20rpx;">
					喜欢汉服的小姐姐可以来聊，独家私密园林环境(人少不打扰适合创作)和拍摄服务，可以车接车送。小姐姐可以自备服装也可我这提供服装。(自带妆造或付费妆造)
				</view>
			</view>
			<!-- 			<view class="userPhotos">
				<view class="photo" v-for="i in 3" :key="i">
					<image src="/static/test/userheader.jpg" mode="aspectFit"></image>
				</view>
			</view> -->
			<view class="flex numMsg">
				<view class="">
					<text style="margin-right: 20rpx;">2天前</text> <text>联系0</text>
				</view>
				<view class="">
					查看5
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'ActivityList',
		data() {
			return {

			};
		},
		methods: {
			toDetails() {
				uni.navigateTo({
					url: '/releasePages/activity/details'
				})
			},

		}
	}
</script>

<style lang="scss" scoped>
	.userboxs {
		border-radius: 10rpx;
		padding: 20rpx;
		background-color: white;
		margin-bottom: 20rpx;

		&:first-child {
			margin-top: 96rpx;
		}
	}

	.userbox {
		min-height: 100rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.numMsg {
		justify-content: space-between;
		border-top: 1rpx solid #eeeeee;
		padding: 10rpx 0rpx;
		font-size: 28rpx;
	}

	.userPhotos {

		display: flex;
		align-items: center;
		flex-wrap: wrap;
		padding: 20rpx 0rpx;
	}

	.photo {
		width: 200rpx;
		height: 200rpx;
		background-color: #CCC;
		border-radius: 10rpx;
		margin-right: 10rpx;
		margin-bottom: 10rpx;

		image {
			border-radius: 10rpx;
			width: 100% !important;
			height: 100% !important;
		}
	}

	.avatar {
		width: 90rpx;
		height: 90rpx;
		border-radius: 100%;

		image {
			width: 90rpx;
			height: 90rpx;
			border-radius: 100%;
		}
	}
</style>